﻿<UserControl x:Class="ViCode_LeVi.Controls.VMTabImages_Item"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
       xmlns:vmcontrol="clr-namespace:ViCode_LeVi.Controls"      
    >
    <Border BorderThickness="1" BorderBrush="WhiteSmoke">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Image Name="Image_Main" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="2"
                    Stretch="UniformToFill" StretchDirection="Both">
            </Image>
            <vmcontrol:VMTextBox_MultiLine HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="2" Grid.Row="1" Text="{Binding Path= Description}"  MaxHeight="45"/>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right"  Grid.Row="2" >
                <Button Name="Button_Delete" Content="Delete" Margin="2" Click="Button_Delete_Click" Grid.Row="1"  HorizontalAlignment="Right"/>
                <Button Name="Browse" Content="Browse" Margin="2" Click="Browse_Click" Grid.Row="1"  HorizontalAlignment="Right" />
            </StackPanel>
        </Grid>
    </Border>
    
</UserControl>
